package com.xiaokai.domain.award.repository;

import com.xiaokai.domain.award.model.aggregate.GiveOutPrizesAggregate;
import com.xiaokai.domain.award.model.aggregate.UserAwardRecordAggregate;

/**
 * Author:yang
 * Date:2024-09-26 21:18
 * Description:奖品仓储服务
 */
public interface IAwardRepository {
    void saveUserAwardRecord(UserAwardRecordAggregate userAwardRecordAggregate);

    String queryAwardConfig(Integer awardId);

    void saveGiveOutPrizesAggregate(GiveOutPrizesAggregate giveOutPrizesAggregate);

    String queryAwardKey(Integer awardId);
}
